echo "自动生成模块目录及空文件"
echo -n "输入模块名:"
read name
mkdir src/logical/$name
mkdir src/logical/$name/controller
fsutil file createnew src/logical/$name/controller/$name.controller.ts 0
mkdir src/logical/$name/service
fsutil file createnew src/logical/$name/service/$name.service.ts 0
mkdir src/logical/$name/entity
fsutil file createnew src/logical/$name/entity/$name.entity.ts 0
mkdir src/logical/$name/provider
fsutil file createnew src/logical/$name/provider/$name.providers.ts 0
mkdir src/logical/$name/models
fsutil file createnew src/logical/$name/models/$name.models.ts 0
fsutil file createnew src/logical/$name/$name.module.ts 0
